<!-- 分页 -->
<template>
  <div class='pagination'>
    <el-pagination :pager-count='pagerCount' background @size-change="handleSizeChange" @current-change="handleCurrentChange" :page-size='pageSize' :current-page='pageNum' layout="total, prev, pager, next" :total="total">
    </el-pagination>
  </div>
</template>

<script>
export default {
  name: 'zhaoxiongfei',
  props: {
    pageNum: {
      default: 1
    },
    pageSize: {
      default: 10
    },
    total: {
      default: 0
    }
  },
  data() {
    return {
      pagerCount: 5,
      // pageNum: 1,
      // pageSize: 10,
      // total: ''
    }
  },
  created() { 
  },
  methods: {
    handleSizeChange(v) {

    },
    handleCurrentChange(v) {
      this.$emit('handleCurrentChange', v)
    }
  },
  mounted() { },
  components: {},
}

</script>

<style lang='' scoped>
</style>